﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblOrderService
	{
		private static readonly tblOrderDAL db = new tblOrderDAL();
		#region[tblOrder_GetById]
		public static DataTable tblOrder_GetById(tblOrderInfo Data)
		{
			return db.tblOrder_GetById(Data);
		}
		#endregion
		#region[tblOrder_GetByAll]
		public static DataTable tblOrder_GetByAll()
		{
			return db.tblOrder_GetByAll();
		}
		#endregion
		#region[tblOrder_GetByTop]
		public static DataTable tblOrder_GetByTop(string Top, string Where, string Order)
		{
			return db.tblOrder_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblOrder_Insert]
		public static void tblOrder_Insert(tblOrderInfo Data)
		{
			 db.tblOrder_Insert(Data);
		}
		#endregion
		#region[tblOrder_Update]
		public static void tblOrder_Update(tblOrderInfo Data)
		{
			 db.tblOrder_Update(Data);
		}
		#endregion
		#region[tblOrder_Delete]
		public static void tblOrder_Delete(string Data)
		{
			 db.tblOrder_Delete(Data);
		}
		#endregion
		#region[tblOrder_GetBy_sid]
		public static DataTable tblOrder_GetBy_sid(string _sid)
		{
			 return db.tblOrder_GetBy_sid(_sid);
		}
		#endregion
	}
}